API Documentation
Static Public Member Functions | List of all members
nkAstraeus::OneChannelPackUtils Class Reference

Offers utilities to use with the ONE_CHANNEL_PACK enumeration class. More...

Static Public Member Functions

static nkMemory::StringView enumToString (ONE_CHANNEL_PACK value)
 
static ONE_CHANNEL_PACK stringToEnum (const nkMemory::StringView &value)
 

Detailed Description

Offers utilities to use with the ONE_CHANNEL_PACK enumeration class.

Member Function Documentation

◆ enumToString()

static nkMemory::StringView nkAstraeus::OneChannelPackUtils::enumToString ( ONE_CHANNEL_PACK  value)
static

Translates the enumeration value into a string.

Parameters
valueThe enumeration value to translate.
Returns
The enumeration translated as a string.

◆ stringToEnum()

static ONE_CHANNEL_PACK nkAstraeus::OneChannelPackUtils::stringToEnum ( const nkMemory::StringView value)
static

Translates a string into the enumeration value.

Parameters
valueThe string to translate
Returns
The string translated into an enumeration value.

The documentation for this class was generated from the following file: